<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/commons/taglibs.jsp"%>
<div class="left">
		<div class="left_box">
			<div class="title">我的资料<span class="left_ico1"></span></div>
			<div class="content mydata" >
				<div class="mydata_top cf">
					<img class="hy" src="${ctx}/resources/img/hy.gif">
					<p class="p1">
					${loginAccount.baseUsername }
					<c:if test="${registerGrade == 1}"><img src="${ctx}/resources/img/grade1.png" title="铜旅" ></c:if>
					<c:if test="${registerGrade == 2}"><img src="${ctx}/resources/img/grade2.png" title="银旅"  ></c:if>
					<c:if test="${registerGrade == 5}"><img src="${ctx}/resources/img/grade3.png" title="金旅"  ></c:if>
					<c:if test="${registerGrade == 10}"><img src="${ctx}/resources/img/grade4.png" title="VIP旅"  ></c:if>
					<c:if test="${registerGrade == 30}"><img src="${ctx}/resources/img/grade5.png" title="VIP钻石旅"  ></c:if>
					</p>
					<p class="p2">${loginAccount.baseEmailMain }</p>
					<p class="p3">${loginAccount.basePhone }</p>
				</div>
				<div class="mydata_bottom">
					<ul>
						<li class="first"><span class="s1">&nbsp;</span><span class="s2">一部</span><span class="s3">二部</span></li>
						<li><span class="s1">总业绩</span><span id="t1" class="s2">${achieve.achievementLeftTotal }</span><span id="t2" class="s3">${achieve.achievementRightTotal }</span></li>
						<li><span class="s1">剩余业绩</span><span id="s1" class="s2">${achieve.achievementLeftRemain }</span><span id="s2" class="s3">${achieve.achievementRightRemain }</span></li>
						<li><span class="s1">新产生业绩</span><span id="n1" class="s2">${achieve.achievementLeftNew }</span><span id="n2" class="s3">${achieve.achievementRightNew }</span></li>
					</ul>
				</div>
			</div>
		</div>
		<div class="left_box">
			<div class="title">快捷菜单<span class="left_ico2"></span></div>
			<div class="content">
				<ul class="left_menu cf">
					<li class="ico1"><a href="${ctx}/memberBI/registerIndex" class="current">注册会员</a></li>
					<li class="ico2"><a href="${ctx}/memberBI/myprofile">我的档案</a></li>
					<li class="ico3"><a href="${ctx}/financial/transfer">转账管理</a></li>
					<li class="ico4"><a href="${ctx}/financial/achievementList">业绩查询</a></li>
					<li class="ico5"><a href="${ctx}/travelLine/travelIndex?typeLable=experience">体验游线路</a></li>
				</ul>
			</div>
		</div>
		
	</div>
<script src="${ctx}/resources/script/validate/jquery-1.4.min.js" type="text/javascript"></script>
<script>
$(function() {
	var url = "${ctx}/login/findSelf";
    $.ajax({
        type: "post",
        async:false,
        url: url,
        dataType: "json",
        data:"",
        success: function(getmsg){  
            $("#t1").html(getmsg.achievementLeftTotal);
            $("#s1").html(getmsg.achievementLeftRemain);
            $("#n1").html(getmsg.achievementLeftNew);
            
            $("#t2").html(getmsg.achievementRightTotal);
            $("#s2").html(getmsg.achievementRightRemain);
            $("#n2").html(getmsg.achievementRightNew);
        }
    });
});
</script>